Skip to content

fix: document Next.js automatic JSX requirements - #381

Open
cursor[bot] wants to merge 6 commits into
mainfrom
cursor/content-code-synchronization-c2c2
Open

fix: document Next.js automatic JSX requirements#381
cursor[bot] wants to merge 6 commits into
mainfrom
cursor/content-code-synchronization-c2c2

Conversation

@cursor

@cursor cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the stale SPA-only automatic JSX limitation with current React SPA and Next.js support
  • document the required @generaltranslation/compiler installation and Next.js Babel compiler setup
  • clarify that Next.js automatic JSX injection requires Webpack and is unavailable with Turbopack or SWC

Verification

  • installed and exercised gt-next@11.0.10 and @generaltranslation/compiler@1.3.32
  • built a Next.js 16.2.6 fixture successfully with next build --webpack
  • confirmed Turbopack emits the published incompatibility warning
  • pnpm build:content
  • node --experimental-strip-types scripts/validate-links.ts
Open in Web View Automation 

@archie-mckenzie
archie-mckenzie marked this pull request as ready for review July 17, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant